package com.teacher.pojo.dto.physicaleducationmajor;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Author: zfm
 * @Date: 2021/7/31 16:34
 */
@Data
public class PhysicalEducationMajorAddDto {
    @ApiModelProperty(value = "学号")
    @NotBlank(message = "学号不能为空")
    private String studentKey;

    @ApiModelProperty(value = "学期ID")
    private Long termId;

    @ApiModelProperty(value = "体育基本分")
    @NotNull(message = "体育基本分不能为空")
    private BigDecimal basicGrades;

    @ApiModelProperty(value = "体育竞赛服务")
    @NotNull(message = "体育竞赛服务不能为空")
    private BigDecimal serviceGrades;

    @ApiModelProperty(value = "备注")
    private String remark;
}
